<?php session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>g-Apps</title>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link type="text/css" href="css/blitzer/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
        <link href="css/validation/validationEngine.jquery.css" rel="stylesheet" type="text/css" media="screen" />
        <link href="css/tooltip.css" rel="stylesheet" type="text/css" media="screen" />

        <!--        load jquery -->
        <script type="text/javascript" src="js/jquery-1.6.min.js"></script>
        <script language='javascript' src='Includes/FusionCharts.js'></script>

        <!--        load jquery UI -->
        <script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
        <!--        load validation-->
        <script src="js/validation/jquery.validationEngine-en.js" type="text/javascript"></script>
        <script src="js/validation/jquery.validationEngine.js" type="text/javascript"></script>	
        <!--        load tooltips -->
        <script src="js/tooltip.js" type="text/javascript"></script>		
        <!--        load other custom functions -->
        <script src="js/helper/functions.js" type="text/javascript"></script>
        <link href="css/style.css" rel="stylesheet" type="text/css" />

       
        <!--[if lt IE 7]>
        <style type="text/css">
          .templatemo_bottom_section_box .body li{ behavior: url(iepngfix.htc); }
        </style>
        <![endif]-->
        <!--  Designed by w w w . t e m p l a t e m o . c o m  --> 
    </head>
    <body>
        <div id="templatemo_background_section_top">

            <div class="templatemo_container">
                <div id="templatemo_header_menu">
                    <div id="templatemo_menu">
                        <ul>
                             <?php if (isset($_SESSION['username'])) { ?>
                                <li <?php if ($page == 'index') { ?>class="current"<?php } ?>><a href="index.php" >Home Page</a></li>
                                <li <?php if ($page == 'main_forum') { ?>class="current"<?php } ?> ><a href="main_forum.php">Discussion Forum</a></li>

                                <li <?php if ($page == 'add_app') { ?>class="current"<?php } ?> > <a href="add_app.php">My Apps</a></li>
                                <li><a href="logout.php">Logout </a></li>
                            <?php } else { ?>
                                <li <?php if ($page == 'index') { ?>class="current"<?php } ?> ><a href="index.php" >Home Page</a></li>
                                <li <?php if ($page == 'main_forum') { ?>class="current"<?php } ?> ><a href="logins.php">Discussion Forum</a></li>

                                <li <?php if ($page == 'add_app') { ?>class="current"<?php } ?> > <a href="logins.php">My Apps</a></li>
                                <li <?php if ($page == 'logins') { ?>class="current"<?php } ?> ><a href="logins.php">User Accounts</a></li>
                            <?php } ?>
                        </ul>


                    </div>
                </div>

            </div><!--  End Of Container  -->

        </div><!--  End Of Back Ground Section Top  -->

        <div id="templatemo_background_section_middle">
            <div class="templatemo_container">
                <div id="templatemo_content_area">
                    <div class="templatemo_content">